from distutils.core import setup
import py2exe

opts = {
    "py2exe": {
        "includes": ["pango","cairo", "pangocairo", "atk", "gobject", "gtk"],
        "dll_excludes": ["libatk-1.0-0.dll","libcairo-2.dll","libgdk_pixbuf-2.0-0.dll",
                         "libgdk-win32-2.0-0.dll","libgio-2.0-0.dll","libglib-2.0-0.dll",
                         "libgmodule-2.0-0.dll","libgobject-2.0-0.dll","libgthread-2.0-0.dll",
                         "libgtk-win32-2.0-0.dll","libpango-1.0-0.dll","libpangocairo-1.0-0.dll",
                         "libpangowin32-1.0-0.dll"]
    }
}

setup(
    name = "Adsense-Monitor",
    description = "An Adsense-Monitor",
    version = "0.1",
    windows = [{"script": "adsensemonitor.py", "icon_resources": [(1,
        "./data/ok.ico"),(0,"./data/ok.ico")]}],
    options=opts,
    data_files=[("data", ["data/ok.ico","data/ko.ico","data/refresh.ico","data/notification.wav","data/ok.png"]),
                ("gui",["gui/Settings.ui","gui/About.ui"])]
)